-
Home
-
Smartcat Translator for WPML
-
3.1.62 (latest)
-
Code
-
Classes
- BaseModel
Total Complexity |
51 |
Dependencies |
2 |
Dependents |
1 |
Total lines |
380 |
Lines of code |
196 |
Logical lines of code |
93 |
Comment lines |
76 |
Methods |
32 |
Properties |
6 |
Methods 32
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
updateSettings() |
S |
57 |
7 |
17 |
parseSettingsValue() |
S |
51 |
6 |
28 |
updateTemplateShortcode() |
S |
53 |
5 |
23 |
toArray() |
S |
59 |
3 |
15 |
toTranslatableData() |
S |
68 |
2 |
7 |
__construct() |
S |
65 |
2 |
9 |
getSettings() |
S |
82 |
1 |
3 |
getType() |
S |
82 |
1 |
3 |
getElementorTypes() |
S |
80 |
1 |
3 |
getSettingsListValueKey() |
S |
78 |
1 |
3 |
getSettingsListKey() |
S |
78 |
1 |
3 |
isList() |
S |
79 |
1 |
3 |
getSettingsValue() |
S |
79 |
1 |
3 |
getId() |
S |
82 |
1 |
3 |
setType() |
S |
77 |
1 |
4 |
getTemplateId() |
S |
76 |
1 |
4 |
normalizeTemplateShortcode() |
S |
72 |
1 |
5 |
parseTemplateIdFromShortcode() |
S |
70 |
1 |
6 |
updateTemplateId() |
S |
64 |
1 |
10 |
setElements() |
S |
77 |
1 |
4 |
isShortcode() |
S |
80 |
1 |
3 |
isTemplate() |
S |
80 |
1 |
3 |
setId() |
S |
77 |
1 |
4 |
setSettings() |
S |
77 |
1 |
4 |
isTranslatable() |
S |
72 |
1 |
6 |
isWidget() |
S |
80 |
1 |
3 |
getWidgetType() |
S |
82 |
1 |
3 |
setWidgetType() |
S |
77 |
1 |
4 |
isInner() |
S |
82 |
1 |
3 |
setIsInner() |
S |
77 |
1 |
4 |
getElements() |
S |
82 |
1 |
3 |
getTranslatableFields() |
S |
100 |
1 |
0 |